<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce                                       |
// +----------------------------------------------------------------------+
// | Copyright (c) 2003 The zen-cart developers                           |
// |                                                                      |
// | http://www.zen-cart.com/index.php                                    |
// |                                                                      |
// | Portions Copyright (c) 2003 osCommerce                               |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license,       |
// | that is bundled with this package in the file LICENSE, and is        |
// | available through the world-wide-web at the following url:           |
// | http://www.zen-cart.com/license/2_0.txt.                             |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to       |
// | license@zen-cart.com so we can mail you a copy immediately.          |
// +----------------------------------------------------------------------+
// $Id: tpl_subscribe_default.php,v 1.1 2006/06/16 01:46:16 Owner Exp $  dmcl1
//
?>
<div class="clear"></div>
<?php if(!empty($error)) { echo $messageStack->output('subscribe'); } ?>


<?php if( empty($subscribe)) { ?>

<div class="nl_main">
	
	<div class="nl_header" style="position: relative;">
		<?php echo zen_draw_form('newsletter_subscription', zen_href_link('newsletter_subscription', '', 'SSL'), 'post', ''); ?>
          <p style="font-size: 12px; width: auto; top: -33px;">You will automatically be entered into the draw when you subscribe. Promotion ends April 28th, 2011. <br>
          Subscribers will also receive weekly discount coupons with their newsletter. </p>
          <table cellspacing="0" cellpadding="0" border="0" style="margin-left: 50px; margin-top: 0px;">
            <tbody><tr>
			
             <td style="font-size: 12px; color: rgb(0, 0, 0);">Email:</td>
  <td> 
  
  <input type="text" value="Your Email Address" onfocus="if (this.value == 'Your Email Address') this.value = '';" onblur="if (this.value == '') this.value = 'Your Email Address';" class="input_4 gray" size="30" id="from" name="email" style="width: 190px; margin-left: 5px; border: 1px solid rgb(45, 142, 223);"></td>
  <td style="padding-left: 10px;">
  <input type="image"  src="http://cloud.lbox.me/images/wholesale/201007/14082_71280379015.gif" class="" />
  </td>
            </tr>

          </tbody>
		  </table>
		  <span></span>
		  </form>
	</div>
		  

	<div class="nl_cont_top"></div>
	
	<div style="width: 848px;" class="nl_cont">
	<h1 style="margin-bottom: 15px;">Winner</h1>
    <span>You could be the one!</span>
    <ul style="position: relative; height: 282px; margin-left: -34px;" id="list1">
		<img width="498" height="282" border="0" style="position: absolute; left: 0pt; bottom: 0pt;" src="http://image.lightinthebox.com/images/wholesale/201009/en0_061283338779.jpg">
		<div style="position: absolute; top: 0pt; left: 550px;">					
			<h3 style="font-size: 15px; font-weight: bold; color: rgb(0, 0, 0);">iPhone 4 Configuration</h3>
			<p style="font-size: 12px; color: rgb(103, 103, 103); width: 198px; line-height: 120%;">16GB iPhone 4<br>Black or White</p>
			<p style="font-size: 12px; color: rgb(103, 103, 103);">Total Value: <strong> US$ 499</strong></p>
			<p style="font-size: 11px; color: rgb(103, 103, 103); width: 340px; line-height: 120%;">The iPhone 4 will be shipped directly from the Apple store.</p>
			</div>
		<div style="position: absolute; top: 120px; left: 550px;">	
		<p style="font-size: 12px; color: rgb(103, 103, 103);">Winner to be announced on April 29th</p>	
		</div>				
     </ul>  
	 
	 <div class="how">
<?php echo zen_draw_form('newsletter_subscription', zen_href_link('newsletter_subscription', '', 'SSL'), 'post', ''); ?>
		<script>jQuery("#url2").val(xUrl);</script>	
    <h1 style="padding-top: 6px;">How to Enter</h1>
    <p style="width: 700px; height: 60px;">Simply subscribe newsletter anytime between Mar 28th and April 28th, 2011 and you will automatically be entered into the draw!</p>

	<table cellspacing="0" cellpadding="0" border="0">

	  <tbody><tr>
	  <td style="font-size: 12px; color: rgb(0, 0, 0);">Email:</td>
  <td> <input type="text" style="width: 190px; margin-left: 5px; border: 1px solid rgb(45, 142, 223);" name="email" id="from" size="30" class="input_4 gray" onblur="if (this.value == '') this.value = 'Your Email Address';" onfocus="if (this.value == 'Your Email Address') this.value = '';" value="Your Email Address"></td>
  <td style="padding-left: 10px;"><input type="image" class="" src="http://cloud.lbox.me/images/wholesale/201007/14082_71280379015.gif"> </td>
  </tr></tbody></table>
    </form>

	</div>
	<div style="position: relative;" class="past">
      <h1 style="margin-bottom: 15px;"> <a id="winner"></a>Past Winners</h1>
           <span>Our previous lucky winners:</span>

            <p><span style="font-size: 13px; width: 132px; height: 16px; line-height: 20px;">Jan 28th - Feb 28th&nbsp; </span></p>
            <p><span style="position: relative; left: 255px; top: -35px; font-size: 13px; width: 332px; height: 16px; line-height: 20px;">Feb 28th &ndash; Mar 28th &nbsp; </span></p>

            <div style="width: 215px; height: 50px; position: absolute; top: 35px; left: 20px; padding: 70px 0px 10px 0pt;">

            <div style="width: 155px; height: 16px; line-height: 16px; border-bottom: 1px solid rgb(178, 178, 178);"><b>Jean Scheaffel</b></div>
            <div style="width: 155px; height: 24px; line-height: 24px; border-bottom: 1px solid rgb(178, 178, 178);">Subscription Date: Feb 05</div>

        <div style="position: relative; left: 255px; top: -43px;">
            <div style="width: 155px; height: 16px; line-height: 16px; border-bottom: 1px solid rgb(178, 178, 178);"><b>Ryan Bartlett</b></div>
            <div style="width: 155px; height: 24px; line-height: 24px; border-bottom: 1px solid rgb(178, 178, 178);">Subscription Date: Mar 11</div>
        </div>
    </div>	
	
</div>
	<h1 style="padding-top: 6px;">Rules</h1>
	<p style="font-size: 11px;"> <b style="color: rgb(0, 0, 0); line-height: 13px;">Promotion Dates:</b> This promotion begins on Mar 28th and ends April 28th, 2011, at 1AM EDT.</p>

    <p style="font-size: 11px;"> <b style="color: rgb(0, 0, 0); line-height: 13px;">Prize Drawing:</b> One winner will be drawn on April 28th, 2011.</p>
	<p style="font-size: 11px; line-height: 13px;"> <b style="color: rgb(0, 0, 0);">Notifying The Winner:</b>  The winner will be notified by email. They will then have 48 hours to respond to the email and confirm their win. Should a winner not respond within 48 hours, the prize will be redrawn at a time convenient to our company. All unsuccessful subscribers will not be notified. </p>
	<p style="font-size: 11px; line-height: 13px;"> <b style="color: rgb(0, 0, 0); line-height: 13px;">Announcement of Winner: </b>The prize winner\'s name and the date they subscribed to our company newsletter will be announced on this page after they have confirmed their win.</p>

	<p style="font-size: 11px; line-height: 13px;"> <b style="color: rgb(0, 0, 0); line-height: 13px;">Prize: </b> The prize is one Apple iPhone 4. The winner will have the prize shipped directly from the Apple store to their address with no additional charges.</p>

	<p style="font-size: 11px; line-height: 13px;"> <b style="color: rgb(0, 0, 0);">Consent:</b> By subscribing, users consent to being placed on an e-mail list to receive promotional and other material.</p>  
</div>
</div>
	
<?php	} else { ?>

<div style="text-align: center; font: 11px Arial,Helvetica,sans-serif; color: rgb(102, 102, 102); background: none repeat scroll 0% 0% rgb(255, 255, 255);">
<div style="margin: 0pt auto; overflow: hidden; width: 735px; color: rgb(0, 0, 0); text-align: left;"><img alt="" src="http://image.lightinthebox.com/images/wholesale/201008/en_031281086746.jpg" style="width: 723px; height: 146px; margin-top: 24px;">
<div>
<p style="font-size: 16px; color: rgb(186, 0, 1); margin-top: 16px;"><strong>Thank you for subscribing to the Head-Sneaker.com Newsletter!</strong></p>
<p style="font-size: 13px; color: rgb(102, 102, 102); margin-top: 14px;" id="showemail"><strong>You have signed up to receive updates at:&nbsp;</strong><span class="emailspan"><?php echo $email_address; ?></span></p>
<p style="font-size: 13px; color: rgb(102, 102, 102); margin-top: 12px;">From now on, you will be sent updates twice a week filled with exclusive deals and coupons. Our newsletters introduce products from across our various categories, which will be tailored specifically to your lifestyle and interests. Your shopping experience just got that much better!</p>
<p style="font-size: 13px; color: rgb(102, 102, 102); margin-top: 12px; margin-bottom: 26px;">To return to Home Page, please <a href="/" style="color: rgb(186, 0, 1);">click here</a></p>
</div>

<div style="clear: both;"></div>
<div>
<p style="font-size: 13px; padding: 20px 20px 5px 0pt; color: rgb(102, 102, 102);">Once again, thank you for subscribing to the Head-Sneaker.com Newsletter!</p>
<a href="http://www.head-sneaker.com" title="head-sneaker.com" style="text-decoration: none;"><img border="0" alt="head-sneaker.com" src="includes/templates/lightinthebox/images/logo.jpg" style="float: right; margin-top: 20px; margin-right: 16px;"></a>
<p style="font-size: 13px; padding: 16px 16px 5px 0pt; color: rgb(102, 102, 102);">Sincerely,</p>
<p style="font-size: 13px; color: rgb(102, 102, 102);">Head-Sneaker.com</p>
</div>
</div>
</div>
<?php	}  ?>





